package ex053;
abstract class Cat implements Pet{
	private String number;
	private String pinzhong;
	private String color;
	private int age; 
	private String price;
	public Cat(String number,String pinzhong,String color,int age,String price){
		this.setNumber(number);
		this.setPinzhong(pinzhong);
		this.setColor(color);
		this.setAge(age);
		this.setPrice(price);
	}
	public String getNumber(){
		return this.number;
	}
	public String getPinzhong(){
		return this.pinzhong;
	}
	public String getColor(){
		return this.color;
	}
	public int getAge(){
		return this.age;
	}
	public String getPrice(){
		return this.price;
	}
	public void setNumber(String number){
		this.number=number;
	}
	public void setPinzhong(String pinzhong){
		this.pinzhong=pinzhong;
	}
	public void setColor(String color){
		this.color=color;
	}
	public void setAge(int age){
		this.age=age;
	}
	public void setPrice(String price){
		this.price=price;
	}
}

